import { defineStore } from 'pinia'

export const useAppStore = defineStore('app', {
  state: () => {
    return {
      dll_version: '3.9.10.19',
      wechat_version: '3.9.10.19',
      dll_injection: true,
      log: [
        {
          time: '2024-03-14 11:23:33',
          type: '私聊',
          message: 'wxid_343j2da3vd312：测试'
        },
        {
          time: '2024-03-14 11:23:14',
          type: '私聊',
          message: 'wxid_343j2da3vd312：1'
        },
        {
          time: '2024-03-14 11:23:12',
          type: '私聊',
          message: 'wxid_343j2da3vd312：测试'
        },
        {
          time: '2024-03-14 11:23:11',
          type: '私聊',
          message: 'wxid_343j2da3vd312：测试123'
        },
        {
          time: '2024-03-14 11:22:58',
          type: '私聊',
          message: 'wxid_343j2da3vd312：测试'
        },
        {
          time: '2024-03-14 11:22:49',
          type: '私聊',
          message: 'wxid_343j2da3vd312：测试1'
        },
        {
          time: '2024-03-14 11:22:41',
          type: '私聊',
          message: 'wxid_343j2da3vd312：3'
        },
        {
          time: '2024-03-14 11:22:39',
          type: '私聊',
          message: 'wxid_343j2da3vd312：111'
        },
        {
          time: '2024-03-14 11:22:31',
          type: '私聊',
          message: 'wxid_343j2da3vd312：123'
        },
        {
          time: '2024-03-14 11:22:20',
          type: '私聊',
          message: 'wxid_343j2da3vd312：1'
        },
        {
          time: '2024-03-14 11:22:15',
          type: '私聊',
          message: 'wxid_343j2da3vd312：1'
        }
      ],
      plugin: [
        {
          id: 1,
          name: 'chat-gpt',
          logo: 'https://eccp.oss-cn-beijing.aliyuncs.com/8d31ca64922761a76d07f26c9403d586.jpeg'
        }
      ]
    }
  },
  actions: {}
})
